package com.mdlib.helper.module.send.order.activitys;

import android.content.Context;
import android.content.Intent;

import com.ljlib.core.base.BaseCommonActivity;
import com.ljlib.core.base.BaseFragment;
import com.mdlib.helper.ui.UIHelper;
import com.mdlib.helper.module.send.order.fragments.ModifyPhoneFragment;

/**
 * 作者：HQY on 16/12/13 11:28
 * 邮箱：hqy_xz@126.com
 */

public class ModifyPhoneActivity extends BaseCommonActivity {


    public static Intent newIntent(Context context, String phone,String type) {
        Intent intent = new Intent(context, ModifyPhoneActivity.class);
        intent.putExtra(UIHelper.PHONE, phone);
        intent.putExtra(UIHelper.TYPE, type);
        return intent;
    }

    @Override
    protected BaseFragment getFirstFragment() {
        return ModifyPhoneFragment.newInstance(getIntent().getExtras().getString(UIHelper.PHONE),
                getIntent().getExtras().getString(UIHelper.TYPE));
    }
}
